package com.lxlg.lxlg_order.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author kevin
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class OrderLogistics implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "logistics_id", type = IdType.AUTO)
    private Integer logisticsId;

    private String logisticsCode;

    private String logisticsName;

    private String logisticsCompanyCode;

    private String orderCode;

    /**
     * 0普通订单退款,1秒杀订单退款(订单类型）
     */
    private Integer orderType;

    private Integer skuId;

    private Date updateTime;
    /**
     * 物流跟新内容
     */
    private String logisticsContent;

    private String deliveryman;

    private String deliverymanPhone;

    /**
     * 物流状态（默认0已下单 1已发货 2运输中 3派送中 4待取件  5已签收
     */
    private Integer logisticsState;

    private String takeCode;


}
